<script setup lang="ts">
import { Cond, CondItem, Input } from '@idmy/ui'

const input = ref({
  param: {},
})
</script>

<template>
  <Cond :col="4" :model="input.param">
    <template #op>
      <Button text="新增"></Button>
    </template>
    <CondItem title="用户名用户名用户名用户名" field="username">
      <Input v-model="input.param.username"></Input>
    </CondItem>
    <CondItem title="姓名姓名姓名姓名姓名姓名姓名" field="cond.name">
      <Input v-model="input.param.name"></Input>
    </CondItem>
    <CondItem title="手机机机机机机机机机机机" field="cond.mobile">
      <Input v-model="input.param.mobile"></Input>
    </CondItem>
    <CondItem title="邮箱邮箱邮箱邮箱邮箱邮箱邮箱" field="email">
      <Input v-model="input.param.email"></Input>
    </CondItem>
  </Cond>
</template>

<style scoped></style>
